﻿using PMS.SANY.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PMS.SANY.IBusiness
{
    /// <summary>
    /// 操作人员信息
    /// </summary>
    /// <typeparam name="K">主键类型</typeparam>
    public interface IOperator<K>
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        K UserId { get; }
        /// <summary>
        /// 当前用户属性
        /// </summary>
        Task<UserModel> GetCurUser();
    }
    /// <summary>
    /// 操作人员信息
    /// </summary>
    public interface IOperator : IOperator<string>
    { }
}
